package org.jeecg.modules.wlhy.hydaodaorder.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: hy_daoda_order
 * @Author: duanlikao
 * @Date:   2021-07-02
 * @Version: V1.0
 */
@Data
@TableName("hy_daoda_order")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="hy_daoda_order对象", description="hy_daoda_order")
public class HyDaodaOrder implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
	/**运单ID*/
	@Excel(name = "运单ID", width = 15)
    @ApiModelProperty(value = "运单ID")
    private java.lang.String shippingnoteId;
    /**运单号*/
    @Excel(name = "运单号", width = 15)
    @ApiModelProperty(value = "运单号")
    private String shippingNoteNumber;
	/**道达运单ID*/
	@Excel(name = "道达运单ID", width = 15)
    @ApiModelProperty(value = "道达运单ID")
    private java.lang.String orderId;

    @ApiModelProperty(value = "是否推送运单轨迹")
    private java.lang.String uploadStatus;
    /**推送运单轨迹日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "推送运单轨迹日期")
    private Date uploadTime;


    /**上报失败原因*/
    @ApiModelProperty(value = "上报失败原因")
    private String failureReason;

    /**创建日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
}
